package dryven.view.engine.component.childzone;

import dryven.view.engine.expression.ViewDataDeclaration;
import dryven.view.engine.expression.nodelisters.ExpressionNodeFactory;
import dryven.view.engine.parser.componentinvocation.AttributeBindings;

/**
 * A child zone strategy that makes a view component
 * has no child zone what so ever (no child content is
 * allowed at all). This is the default strategy.
 * 
 * Also, no implicit view data declarations are made.
 * @author bwindels
 *
 */
public class NoChildZoneStrategy implements ChildZoneStrategy {

	@Override
	public Iterable<String> getChildZones() {
		return null;
	}

	@Override
	public Iterable<ViewDataDeclaration> getViewDataDeclarations(
			String name,
			AttributeBindings attributeBindings,
			ExpressionNodeFactory expressionFactory) {
		return null;
	}

}
